package com.jcsz.gulimall.seckill.service;

import com.jcsz.gulimall.seckill.to.SeckillSkuRedisTo;

import java.util.List;

/**
 * @className: SeckillService
 * @author: 一把Po吉他
 * @date: 2022/11/17 22:46
 * @version: 1.0
 **/
public interface SeckillService {
    void uploadSeckillSkuLatest3Days();

    List<SeckillSkuRedisTo> getCurrentSeckillSkus();

    SeckillSkuRedisTo getSkuSeckilInfo(Long skuId);

    String kill(String killId, String code, Integer num);
}
